package com.dai.chun.dao.dao;

import java.sql.SQLException;
import java.util.List;

import com.dai.chun.dao.model.Wage;
import com.dai.chun.util.PageSplitUtil;

public interface WageDao {

	int findAllCount() throws SQLException;

	int delWage(int wage_id) throws SQLException;

	int updateWage(Wage wage) throws SQLException;

	Wage findWageById(int wage_id);

	List<Wage> listWageByDeptId(PageSplitUtil psu, int dept_id);

	List<Wage> listWage(PageSplitUtil psu);

	Boolean save(Wage wage) throws SQLException;

	List<Wage> searchWage(String sql);

	List<Wage> listWageByMonth(Wage wage);

	void moveWageTable(String wage_month);

	void save(List<Wage> wageList) throws SQLException;

}
